home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 015a / zap21.zip / ZAP.DOC < prev    next >
Text File  |  1991-04-11  |  2KB  |  55 lines

  1.                      ZAP 2.1 ■ By Bill Hogan
  2.                          Copyright 1991
  3.  
  4. Zap is a program I wrote (in C) one afternoon to Remove unwanted
  5. Directories from Disks in one step.  Rather than Deleting all the
  6. files in a particular directory and then removing the directory,
  7. you can do it in one easy step.
  8.  
  9. ZAP 2.1 Uses Undocumented Dos functions to Get an Absolute Path
  10. to the files to be deleted.  It then makes a network server call
  11. to the current machine which makes a Int-21 0x4100 to Delete any
  12. files with Normal Attributes.  If hidden or read-only files exist
  13. they will also be removed with a call to Documented Dos which is
  14. a bit slower.
  15.  
  16. UNDOCUMENTED calls will only be used if Dos Version 3.1 or higher
  17. is being used.
  18.  
  19. Examples:
  20.           ZAP <Directory_Name>
  21.           ZAP MYDIR
  22.           ZAP c:\mydir
  23.           ZAP \MYDIR
  24.  
  25. ZAP will clean a directory of all files!  Including Hidden, System
  26. and Read-Only Files!
  27.  
  28. ZAP also works across different Drives if you specify the Path
  29. correctly.
  30.  
  31.           A:\>ZAP C:\mydir
  32.           C:\>ZAP a:\mydir
  33.           C:\DOS>ZAP B:\MYDIR
  34.  
  35. ZAP has been tested with many versions of DOS.  It will even work
  36. with Dos 5.0 (beta test copy).  However I can not assume any
  37. responsibility for improper use or function.  
  38.  
  39. This version of the program is not recursive.  If subdirectories
  40. exist below the directory it will not remove it.  It will alert you
  41. of this problem and place you in the proper directory to ZAP any
  42. subdirectories it finds.  A Future Release of this program will
  43. take care of this problem. 
  44.  
  45. If you use Version 2.1 of this program for more than 30 Days please
  46. send a donation of $5 or more to:
  47.  
  48.                        The Homeless Press
  49.                    4507 East Contessa, Suite 1
  50.                        Mesa, Arizona 85205
  51.  
  52. PS.  Any Files and Directories Deleted by mistake can be returned
  53. IF you use Norton UNDELETE DIRECTORY(UD.EXE) and QUICK
  54. UNERASE(QU.EXE) IMMEDIATELY(BEFORE ANY NEW DISK WRITES)!!!
  55.